package com.px.scserver.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.px.scserver.api.pc.v1.request.FileBatchMoveRequest;
import com.px.scserver.api.pc.v1.request.FileUrlPageRequest;
import com.px.scserver.api.pc.v1.request.FileUrlSaveRequest;
import com.px.scserver.api.pc.v1.vo.FileUrlVO;
import com.px.scserver.po.FileUrl;

import java.util.List;

/**
 * @author 品讯科技
 * @description 针对表【sc_file_url】的数据库操作Service
 * @createDate 2023-09-19 20:08:36
 */
public interface FileUrlService extends IService<FileUrl> {
    IPage<FileUrlVO> page(FileUrlPageRequest request);

    void saveOrUpdate(FileUrlSaveRequest request);

    void deleteByCatalogueId(Long id);
    void deleteByCatalogueIds(List<Long> ids);

    FileUrlVO getFileById(Long id);

    void deleteBatch(List<Long> ids);

    void batchMove(FileBatchMoveRequest request);
}
